// javac SSSPWorker.java
// javah SSSPWorker
// 
public class SSSPWorker
{
        static 
        {
                System.load("/home/cong/grape/debug/sssp/libSSSPWorker.so");
        }

        public native void setAppName(String name);
        public native String getAppName();
        public native void run(String [] args);

        public static void main(String [] args)
        {
                SSSPWorker ssspWorker = new SSSPWorker();
                ssspWorker.setAppName("sssp");
                String name = ssspWorker.getAppName();
                System.out.println(name);
        }
        public int i;
}
